package com.yswy.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("app 用户")
@TableName(value = "app_user_money_log")
public class UserMoneyLog {
    @TableId(type = IdType.AUTO)
    private Long id;
    @ApiModelProperty("用户 Id")
    private Long userId ;
    @ApiModelProperty("来源 1 购买 , 2短剧解锁")
    private Integer logType;
    @ApiModelProperty("收益状态 1:获取 2:消耗")
    private Integer logStatus;
    @ApiModelProperty("金额")
    private Integer money;
    @ApiModelProperty("明细记录")
    private String logMsg;
    @ApiModelProperty("收益时间")
    private Date recordTime;
}
